package com.zed.api.games.answer;

import com.zed.api.games.AbstractGameLevel;
import com.zed.api.games.Game;
import com.zed.api.games.answer.action.AnswerAction;
import com.zed.api.games.answer.action.ChooseAnswerAction;
import com.zed.api.games.answer.action.GetTipsAction;
import com.zed.api.games.answer.show.AnswerShowWorld;

import java.util.ArrayList;
import java.util.List;

/**
 * 答题游戏关卡
 *
 * @author Zed
 */
public abstract class AnswerGameLevel extends AbstractGameLevel<AnswerShowWorld, AnswerAction> {

    public static List<Class<? extends AnswerAction>> SUPPORT_ACTION;

    static {
        SUPPORT_ACTION = new ArrayList<>();
        SUPPORT_ACTION.add(ChooseAnswerAction.class);
        SUPPORT_ACTION.add(GetTipsAction.class);
    }

    protected AnswerGameLevel() {

    }

    public AnswerGameLevel(Game game, AnswerGameLevel parentGameLevel, AnswerGameLevel nextGameLevel) {
        super(game, parentGameLevel, nextGameLevel);
    }

    @Override
    public List<Class<? extends AnswerAction>> getSupportActions() {
        return SUPPORT_ACTION;
    }


}
